{timelineName}_second_scale_date

定义显示在次要X轴上的项目

dateDate需要格式化的日期

Available only in PRO Edition

Example

scheduler.templates.timeline_second_scale_date = function(date){
    var timeline = scheduler.matrix.timeline;
    var func = scheduler.date.date_to_str(
        (timeline.second_scale && timeline.second_scale.x_date)?
        timeline.second_scale.x_date:scheduler.config.hour_date
    );
    return func(date);
};

Applicable views:Timeline 视图
Details

该template仅在启用timeline插件时有效。

See also
返回顶部